<html><head><title>LoadMovie</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">LoadMovie()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>LoadMovie</b></font>(#Movie, Filename$)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Loads the specified movie file and prepares it for playback. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Movie</i></td>
<td width="90%"> 
A number to identify the loaded movie. 
<a href="../reference/purebasic_objects.html">#PB_Any</a> can be used to auto-generate this number. 

</td></tr>
<tr><td><i>Filename$</i></td>
<td> 
The file name of the movie. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns nonzero if the movie was loaded correctly and zero if loading the 
movie failed (format not supported or file not found). 
If <font color="#924B72">#PB_Any</font> was used for the #Movie parameter then the generated number is returned on success. 

</blockquote><p><b>Remarks</b></p><blockquote>

<a href="initmovie.html">InitMovie()</a> must be called once before loading movies. Further information about the loaded movie can be 
read with the <a href="movieinfo.html">MovieInfo()</a>, <a href="movielength.html">MovieLength()</a>, <a href="moviewidth.html">MovieWidth()</a> and <a href="movieheight.html">MovieHeight()</a> commands. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="playmovie.html">PlayMovie()</a>, <a href="movieinfo.html">MovieInfo()</a>, <a href="movielength.html">MovieLength()</a>, <a href="moviewidth.html">MovieWidth()</a>, <a href="movieheight.html">MovieHeight()</a>, <a href="freemovie.html">FreeMovie()</a>, <a href="initmovie.html">InitMovie()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=ismovie.html>IsMovie()</a> - <a href="index.html">Movie Index</a> - <a href="movieaudio.html">MovieAudio()</a> -><br><br>

</body></html>